//
//  NSString+Time.h
//  basic
//
//  Created by Jack on 2016/12/13.
//  Copyright © 2016年 Jack. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Time)

+ (NSString *) getTimeDate:(NSDate *)time withFormat:(NSString *)format;

+ (NSString *) getShortTimeString:(NSString *)timeString;

+ (NSString *) getaTimeString:(NSString *)timeString;

+ (NSString *) getTimeString:(NSString *)timeString;

+ (NSString *) getTime2String:(NSString *)timeString;

+ (NSString *) getTime3String:(NSString *)timeString;
//+ (NSString *) getBBYTimeString:(NSString *)timeString;

+ (NSString *) getTime4String:(NSString *)timeString;

+ (NSString *) getTime5String:(NSString *)timeString;

+ (NSString *)getXFGDTimeString:(NSString *)timeString;

+ (NSString *) getXFTimeString:(NSString *)timeString;

+ (NSDate *) getDate:(NSString *)timeString;
//+ (NSString *) getBBYTNowTimeString;
+ (NSDate *) getFullDate:(NSString *)timeString;
//+ (NSString *) getBBYTBirthdayString:(NSString *)timeString;

+ (NSDate *)getBeijingTime:(NSDate *)date;

+ (NSDate *) getDate:(NSString *)timeString dateFormat:(NSString *)format;

//时间戳
+ (NSString *)getTimestamp:(NSDate *)date;


//当前时间戳
+ (NSString *)getTimestampNow;

@end
